<div class="am-u-sm-12 widget main-w" >
	<ol class="am-breadcrumb">
		<li><a href="{:url('/admin/index')}">首页</a></li>
		<li><a href="{:url('/admin/car/index')}">业务管理</a></li>
		<li><a href="{:url('index')}">车型管理</a></li>
		<li class="am-active">{$item.car_type_id?车型编辑:添加车型}</li>
	</ol>
	<form class="am-form-inline tpl-form-border-form" data-check="1" data-ajax="1">
		<input type="hidden" name="car_type_id" value="{$item.car_type_id}" />
		<div class="am-u-sm-10">

			<div class="am-u-sm-12" style="margin-bottom:10px ;">
				<div class="am-u-sm-6 cl-p">
					<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">类型： </label>
					<div class="am-form-group am-u-sm-8 cl-p">
						<div class="am-u-sm-12 cl-p">
							
							<select name="type" class="type" data-typeid='{$item.type}' data-am-selected="{btnWidth:'100%', btnSize: 'sm'}">
								<optgroup label="公务">
									<option {$item.type==2?"selected":""} value="2">公务车</option>
									<option {$item.type==3?"selected":""} value="3">公包车</option>
								</optgroup>
								<optgroup label="个人">
									<option {$item.type==4?"selected":""} value="4">约租车</option>
									<option {$item.type==5?"selected":""} value="5">私包车</option>
								</optgroup>
							</select>
						</div>
					</div>
				</div>
				<div class="am-u-sm-6 cl-p">
					<label class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">车辆类型： </label>
					<div class="am-form-group am-u-sm-8 cl-p">
						<div class="am-u-sm-12 cl-p">
							<select name="car_type" class="car_type" data-am-selected="{btnWidth:'100%', btnSize: 'sm'}">
								{$car_types}
							</select>
						</div>
					</div>
				</div>
			</div>
			<div class="am-u-sm-12" style="margin-bottom:10px ;">

				<div class="am-u-sm-6 cl-p seating" style="display: none;">
					<label class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">座位数：</label>
					<div class="am-form-group am-u-sm-8 cl-p">
						<div class="am-u-sm-12 cl-p">
							<input type="number" name="seats" value="{$item.seats}" />
						</div>
					</div>
				</div>
			</div>

			<fieldset class="driver">
				<legend>司机 </legend>
				
				<div class="am-u-sm-12" style="margin-bottom:10px ;">
					<div class="am-u-sm-12" style="margin-bottom:10px ;">
						<div class="am-u-sm-6 cl-p">
							<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">起步里程[公里]： </label>
							<div class="am-form-group am-u-sm-8 cl-p" style="padding-left: 3px;">
								<div class="am-u-sm-12 cl-p">
									<input type="number" name="starting_km" value="{$item.starting_km}"  class="tpl-form-input" style="line-height: 21px;" />
								</div>
							</div>
						</div>
						<div class="am-u-sm-6 cl-p">
							<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">起步时间[分钟]： </label>
							<div class="am-form-group am-u-sm-8 cl-p" style="padding-left: 3px;">
								<div class="am-u-sm-12 cl-p">
									<input type="number" name="starting_time" value="{$item.starting_time}"  class="tpl-form-input" style="line-height: 21px;" />
								</div>
							</div>
						</div>
					</div>
					<div class="am-u-sm-12" style="margin-bottom:10px ;">
					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">里程费[元/公里]： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="text" name="mileage_cost" value="{$item.mileage_cost}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">起步价[元]： </label>
						<div class="am-form-group am-u-sm-8 cl-p" style="padding-left: 3px;">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="starting_price" value="{$item.starting_price}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
				</div>

				<div class="am-u-sm-12" style="margin-bottom:10px ;">
					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">夜间行驶费[元/公里]： </label>
						<div class="am-form-group am-u-sm-8 cl-p" style="padding-left: 3px;">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="night_driving_cost" value="{$item.night_driving_cost}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="padding: 0;line-height: 35px;">低速行驶费[元/分钟]： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="low_speed_cost" value="{$item.low_speed_cost}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
				</div>

				<div class="am-u-sm-12" style="margin-bottom:10px ;">

					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">时长费[元/分钟]： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="time_charge" value="{$item.time_charge}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">远途费[元/公里]： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="transit_cost" value="{$item.transit_cost}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
				</div>
				<div class="am-u-sm-12" style="margin-bottom:10px ;">

					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">侯客费[元/分钟]： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="waiting_cost" value="{$item.waiting_cost}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">取消费[元]： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="cancel_cost" value="{$item.cancel_cost}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
				</div>
			</fieldset>
			<fieldset class="passenger">
				<legend>乘客</legend>

				<div class="am-u-sm-12" style="margin-bottom:10px ;">

					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">里程费[元/公里]： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="text" name="p_mileage_cost" value="{$item.p_mileage_cost}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">起步价[元]： </label>
						<div class="am-form-group am-u-sm-8 cl-p" style="padding-left: 3px;">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="p_starting_price" value="{$item.p_starting_price}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
				</div>

				<div class="am-u-sm-12" style="margin-bottom:10px ;">
					<div class="am-u-sm-6 cl-p">
						<label  class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">夜间行驶费[元/公里]：</label>
						<div class="am-form-group am-u-sm-8 cl-p" style="padding-left: 3px;">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="p_night_driving_cost" value="{$item.p_night_driving_cost}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="padding: 0;line-height: 35px;">低速行驶费[元/分钟]： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="p_low_speed_cost" value="{$item.p_low_speed_cost}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
				</div>

				<div class="am-u-sm-12" style="margin-bottom:10px ;">

					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">时长费[元/分钟]： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="p_time_charge" value="{$item.p_time_charge}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">远途费[元/公里]： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="p_transit_cost" value="{$item.p_transit_cost}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
				</div>
				<div class="am-u-sm-12" style="margin-bottom:10px ;">

					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">侯客费[元/分钟]： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="p_waiting_cost" value="{$item.p_waiting_cost}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">取消费[元]： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="p_cancel_cost" value="{$item.p_cancel_cost}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
				</div>
			</fieldset>
			<fieldset>
				<legend>包车-乘客</legend>
				<div class="am-u-sm-12" style="margin-bottom:10px ;">
					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">包车里程[公里]：</label>
						<div class="am-form-group am-u-sm-8 cl-p" style="padding-left: 3px;">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="chartered_km" value="{$item.chartered_km}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">包车时间[小时]： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="chartered_hour" value="{$item.chartered_hour}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
				</div>
				<div class="am-u-sm-12" style="margin-bottom:10px ;">
					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">夜间服务费[元/公里]： </label>
						<div class="am-form-group am-u-sm-8 cl-p" style="padding-left: 3px;">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="p_chartered_night" value="{$item.p_chartered_night}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">包车费用[元]： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="p_chartered_charge" value="{$item.p_chartered_charge}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
				</div>
				<div class="am-u-sm-12" style="margin-bottom:10px ;">
					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">超时价[元/分钟]：</label>
						<div class="am-form-group am-u-sm-8 cl-p" style="padding-left: 3px;">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="p_chartered_overtime" value="{$item.p_chartered_overtime}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">超公里价[元/公里]： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="p_chartered_overrun" value="{$item.p_chartered_overrun}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
				</div>
			</fieldset>
			<fieldset>
				<legend>包车-司机</legend>
				<div class="am-u-sm-12" style="margin-bottom:10px ;">
					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">夜间服务费[元/公里]： </label>
						<div class="am-form-group am-u-sm-8 cl-p" style="padding-left: 3px;">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="chartered_night" value="{$item.chartered_night}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">包车费用[元]： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="chartered_charge" value="{$item.chartered_charge}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
				</div>
				<div class="am-u-sm-12" style="margin-bottom:10px ;">
					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">超时价[元/分钟]：</label>
						<div class="am-form-group am-u-sm-8 cl-p" style="padding-left: 3px;">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="chartered_overtime" value="{$item.chartered_overtime}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
					<div class="am-u-sm-6 cl-p">
						<label for="user-name" class="am-u-sm-4 am-text-truncate am-form-label cl-p" style="line-height: 35px;">超公里价[元/公里]： </label>
						<div class="am-form-group am-u-sm-8 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="number" name="chartered_overrun" value="{$item.chartered_overrun}"  class="tpl-form-input" style="line-height: 21px;" />
							</div>
						</div>
					</div>
				</div>
			</fieldset>
			<div class="am-u-sm-12" style="margin-bottom:10px ;">
				<div class="am-u-sm-12"><small style="color: #bbb;">提示：费用只保存小数点后两位</small></div>
				<div class="am-u-sm-4 am-text-truncate">&nbsp;</div>
				<div class="am-u-sm-4 am-text-truncate">
					<button type="button" class="am-btn am-btn-primary am-radius keep">保存</button>
					<a  href="{:url('index')}?page={$Think.get.page}" class="am-btn am-btn-secondary am-radius">返回上一页</a>
				</div>
				
				<div class="am-u-sm-4">&nbsp;</div>
			</div>
		</div>
	</form>
</div>